/**
 * <pre>
 * Copyright:        Copyright(C) 2011-2012, ketayao.com
 * Filename:        com.ketayao.ketacustom.log.LogAdapter.java
 * Class:            LogTemplateAdapter
 * Date:            2013-5-3
 * Author:            <a href="mailto:ketayao@gmail.com">ketayao</a>
 * Version          2.1.0
 * Description:        
 *
 * </pre>
 **/

package com.ketayao.ketacustom.log.impl;

import java.util.HashMap;
import java.util.Map;

import com.ketayao.ketacustom.log.LogAPI;
import com.ketayao.ketacustom.log.LogLevel;

/**
 * 
 * @author <a href="mailto:ketayao@gmail.com">ketayao</a> Version 2.1.0
 * @since 2013-5-3 下午5:21:07
 */

public class LogAdapter implements LogAPI
{
    
    /**
     * @param message
     * @param logLevel
     * @see com.ketayao.ketacustom.log.LogAPI#log(java.lang.String, com.ketayao.ketacustom.log.LogLevel)
     */
    @Override
    public void log(String message, LogLevel logLevel)
    {
        log(message, null, logLevel);
    }
    
    /**
     * @param message
     * @param objects
     * @param logLevel
     * @see com.ketayao.ketacustom.log.LogAPI#log(java.lang.String, java.lang.Object[],
     *      com.ketayao.ketacustom.log.LogLevel)
     */
    @Override
    public void log(String message, Object[] objects, LogLevel logLevel)
    {
        
    }
    
    /**
     * @return
     * @see com.ketayao.ketacustom.log.LogAPI#getRootLogLevel()
     */
    @Override
    public LogLevel getRootLogLevel()
    {
        return LogLevel.ERROR;
    }
    
    /**
     * @return
     * @see com.ketayao.ketacustom.log.LogAPI#getCustomLogLevel()
     */
    @Override
    public Map<String, LogLevel> getCustomLogLevel()
    {
        return new HashMap<String, LogLevel>();
    }
}
